7b7a74958af3168e173ccd0595b2b86815df4b49,src/org/ojalgo/optimisation/ModelEntity.java,ModelEntity,lower,#Number#,192

Before Change


    @SuppressWarnings("unchecked")
    public final ME lower(final Number lower) {
        myAdjustmentExponent = Integer.MIN_VALUE;
        if (lower != null) {
            myLowerLimit = TypeUtils.toBigDecimal(lower);
        } else {
            myLowerLimit = null;
        }

After Change


    public final ME lower(final Number lower) {
        myAdjustmentExponent = Integer.MIN_VALUE;
        myLowerLimit = null;
        if (lower != null) {
            if (lower instanceof BigDecimal) {
                myLowerLimit = (BigDecimal) lower;
            } else if (Double.isFinite(lower.doubleValue())) {
                BigDecimal tmpLimit = TypeUtils.toBigDecimal(lower);
                final BigDecimal tmpMagnitude = tmpLimit.abs();
                if (tmpMagnitude.compareTo(LARGEST) >= 0) {
                    tmpLimit = null;